package com.iretailer.report.quartz;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @program: report
 * @description:
 * @author: Bennie
 * @create: 2020-07-01 11:11
 **/

@Component
@Slf4j
public class TestTask {

    public void execute() {
      log.info("{} - execute TestTask", LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
    }

}
